﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    [SugarTable("MessageBoard")]
    public class MessageBoard
    {
        public MessageBoard()
        {

        }

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int MessageBoardID { get; set; }

        [SugarColumn(IsOnlyIgnoreUpdate =true)]
        public string Content { get; set; }

        [SugarColumn(IsOnlyIgnoreUpdate = true)]

        public string Contact { get; set; }

        [SugarColumn(IsOnlyIgnoreInsert = true, IsOnlyIgnoreUpdate = true)]
        public DateTime? CreatedAt { get; set; }
    }
}
